package com.gykfbxxh.imovie.bean.config;

/**
 * Created by xuxinghai
 * On 2017/9/22
 */

public class OpenBean {


    private int allcount;
    private String code;
    private String errorMsg;

    private OpenData result;

    public int getAllcount() {
        return allcount;
    }

    public void setAllcount(int allcount) {
        this.allcount = allcount;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public OpenData getResult() {
        return result;
    }

    public void setResult(OpenData result) {
        this.result = result;
    }

    public boolean noError(){
        if("OperateOk".equals(code)) {
            return true;
        }
        return false;
    }

    public static class OpenData {
        private int showType; //0 显示单一布局 1 显示视频布局

        public int getShowType() {
            return showType;
        }

        public void setShowType(int showType) {
            this.showType = showType;
        }
    }
}
